package org.zh.sh.vll;

import org.zh.sh.util.http.Controller;
import org.zh.sh.util.http.RequestMapping;

import java.util.Map;

import static org.zh.sh.config.GlobalStatic.proxyStudentCurriculumSV;

@Controller
public class StudentCurriculumVLL {


    @RequestMapping(value = "/studentCurriculum/insert")
    public Map<String, Object> insert(Map<String, Object> studentCurriculum) {
        return proxyStudentCurriculumSV.insert(studentCurriculum);
    }

    @RequestMapping(value = "/studentCurriculum/insertVoid")
    public void insertVoid(Map<String, Object> studentCurriculum) {
        proxyStudentCurriculumSV.insert(studentCurriculum);
    }

    @RequestMapping(value = "/studentCurriculum/updateById")
    public int updateById(Map<String, Object> studentCurriculum) {
        return proxyStudentCurriculumSV.updateById(studentCurriculum);
    }

    @RequestMapping(value = "/studentCurriculum/queryById")
    public Map<String, Object> queryById(Long id) {
        return proxyStudentCurriculumSV.queryById(id);
    }

    @RequestMapping(value = "/studentCurriculum/deleteById")
    public int deleteById(Long id) {
        return proxyStudentCurriculumSV.deleteById(id);
    }
}
